package com.sm.dao;

import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

import com.sm.model.Manager;

@Repository("iManagerDao")
public interface IManangerDao {

	@Select("select * from manager where username=#{username} and password=#{password}")
	public Manager isLogin(Manager user);

	@Update("update manager set password=#{password} where username=#{username}")
	public void updatePwd(Manager user);
}
